package storage.tx.recovery;

import server.starDB;
import storage.log.LogMgr;


public interface LogRecord {
   
   static final int CHECKPOINT = 0, START = 1,
      COMMIT = 2, ROLLBACK  = 3,
      SETINT = 4, SETSTRING = 5;
   
   static final LogMgr logMgr = starDB.logMgr();
   
   
   int writeToLog();
   
  
   int op();
   
   
   int txNumber();
   
   
   void undo(int txnum);
}